<!DOCTYPE html>
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/mytags.jsp"%>
<title>用户编辑</title>
<t:base type="jquery,my97,easyui,lhgdialog"></t:base>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- extend -->
<%@ include file="/jsp/common/common_script.jsp"%>
<script type="text/javascript" src="static_resources/javascript/model/sys_set/sys/sys_user_add_or_edit.1.0.js"></script>
</head>

<body>
    <div class="formbody">
    <div id="usual1" class="usual"> 
    <div class="itab">
  	<ul> 
    <li><a href="javascript:void(0)"   class="selected" id="_page_title" disabled>新增用户</a></li> 
  	</ul>
    </div> 
    
    
  	<div id="tab1" class="tabson">
    <div class="formtext"><b>新增用户</b></div>
    
    <ul class="forminfo"  style="float: left;">
    <form id="_form_default" name="_form_default_name" enctype="multipart/form-data" method="post">
    <input type="hidden" name="id" id="myId"  value="${param.id}"/>
    <input type="hidden" name="userDept" id="userDept"  value=""/>
    <input type="hidden" name="userWeb" id="userWeb"  value=""/>
    <input type="hidden" name="userPosition" id="userPosition"  value=""/>
    <input type="hidden" name="userRole" id="userRole"  value=""/>
    
     <li>
	    <label>用户类型<b>*</b></label>  
	    <select id="userType"  name="userType">
	    </select>
    </li>
    
     <li>
	    <label>用户名称<b>*</b></label>  
	    <input name="deptName" id="deptName" type="text" class="dfinput easyui-validatebox"  data-options="required:true,validType:['unnormal','length[1,20]']" style="width:190px;"/>  
    </li>
    
     <li>
	    <label>用户密码<b>*</b></label>  
	    <input name="deptName" id="deptName" type="text" class="dfinput easyui-validatebox"  data-options="required:true,validType:['unnormal','length[1,20]']" style="width:190px;"/>  
    </li>
    
     <li>
	    <label>选择角色<b>*</b></label>  
	    <select id="userRole"  name="userRole">
	    </select>
    </li>
    
    <li>
	    <label>选择部门<b>*</b></label>  
	    <input name="userDeptName" id="userDeptName" type="text" class="dfinput easyui-validatebox"   readonly="readonly" data-options="required:true,validType:['unnormal','length[1,48]']" style="width:190px;"/>  
        <span class="searchbox-button"   id="_id_btn_dept"   style="height: 32px;"></span>
    </li>
    
    <li>
	    <label>选择岗位<b>*</b></label>  
	    <input name="userPositionName" id="userPositionName" type="text" class="dfinput easyui-validatebox"   readonly="readonly" data-options="required:true,validType:['unnormal','length[1,48]']" style="width:190px;"/>  
        <span class="searchbox-button"   id="_id_btn_position"   style="height: 32px;"></span>
    </li>
    
  
     <li>
	   <label>&nbsp;</label>  
	    <input name="confirm_button" type="button" class="scbtn" value="保存"/> &nbsp;&nbsp;<input name="cansle_button" type="button" class="scbtn" value="取消"  onclick="cansle_dept();"/>
    </li>
    </form>
    
    </ul>
    
    <ul class="forminfo"  style="float: left;" id="right1">
    <table cellpadding="0" cellspacing="0" border="1" class="tablelist" id="deptTable" width="300px"></table>
    </ul>
    
    <ul class="forminfo"  style="float: left;display: none;" id="right2">
    <table cellpadding="0" cellspacing="0" border="1" class="tablelist" id="positionTable" width="50%"></table>
    </ul>
    
    
    <!--  
    <div class="tools">
	<span style="float:left;">
		<label>菜品类型：</label>
		<input name="" type="text" class="easyui-validatebox" style="width:300px" data-options="prompt:'请输入菜品类型'"/>
		<span class="searchbox-button" id="_id_btn_dept" style="height: 32px;"></span>
	</span>
	
	<div style="clear: both;"></div>
	<span style="float:left;">
		<label>&nbsp;</label>
		<div class="easyui-panel" >
	        <ul class="easyui-tree" id="user_cache_tree" data-options="url:'sys/SysUserExt/treelist',method:'get',lines:true"></ul>
	    </div>
	</span>
	</div>-->
	<!--  
	<div>
		<div class="easyui-panel" style="padding:5px;width:380px;">
	        <ul class="easyui-tree" id="user_cache_tree" data-options="url:'sys/SysUserExt/treelist',method:'get',lines:true"></ul>
	    </div>
    </div>
	-->

    
   <!--  
    <li>
	    <label>选择人员</label>
		<input name=" "  type="text" class="easyui-searchbox" style="width:300px" data-options="searcher:doSearchDishType,prompt:'请输入人名'"/>
    </li>
     <li>
	    <label>&nbsp;</label>
		<div class="easyui-layout" style="padding:5px;width:380px;">
	       <ul class="easyui-tree" id="user_cache_tree" data-options="url:'sys/SysUserExt/treelist',method:'get',lines:true"></ul>
	   </div>
    </li> -->    
    
    </div> 
	</div> 
    </div>
    
    <%@include file="/jsp/common/common_dialog.jsp" %>
</body>
</html>
